Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: exit native with error value on failure #20445

Merged
merged 5 commits into from
Mar 4, 2024

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Mar 4, 2024

Contribution description

When no more threads are running, we can exit native for all tests.
In this case, also return _native_retval instead of EXIT_SUCCESS.

Testing procedure

Issues/PRs references

@github-actions github-actions bot added Platform: native Platform: This PR/issue effects the native platform Area: tests Area: tests and testing framework Area: cpu Area: CPU/MCU ports Area: sys Area: System labels Mar 4, 2024
@benpicco benpicco changed the title tests: exit with error value on failure tests: exit native with error value on failure Mar 4, 2024
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 4, 2024
@riot-ci
Copy link

riot-ci commented Mar 4, 2024

Murdock results

✔️ PASSED

b274e8a tests/unittests: report results to the environment on native

Success Failures Total Runtime
10009 0 10009 07m:25s

Artifacts

@benpicco benpicco force-pushed the cpu/native-AUTO_EXIT branch from 54583d1 to b274e8a Compare March 4, 2024 13:44
@github-actions github-actions bot added the Area: core Area: RIOT kernel. Handle PRs marked with this with care! label Mar 4, 2024
derMihai added a commit to derMihai/RIOT that referenced this pull request Mar 4, 2024
@benpicco benpicco added this pull request to the merge queue Mar 4, 2024
Merged via the queue into RIOT-OS:master with commit 31d2300 Mar 4, 2024
26 checks passed
@benpicco benpicco deleted the cpu/native-AUTO_EXIT branch March 4, 2024 17:01
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: core Area: RIOT kernel. Handle PRs marked with this with care! Area: cpu Area: CPU/MCU ports Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: native Platform: This PR/issue effects the native platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants